package com.sc.javaee.service;

import com.sc.javaee.pojo.Enterprise;

import java.util.List;

public interface enterpriseService {
    List<Enterprise> getAllEnterprises();
    List<Enterprise> searchEnterprises(String keyword);
    boolean bindUserToEnterprise(Integer userId, Integer enterpriseId);
    Enterprise getUserEnterprise(Integer userId);
}
